import React from 'react';
import { Button } from 'antd';
import styles from '../styles.less';

export default function({ loading, buttonText }) {
  return (
    <div className={styles.stepBottom}>
      <Button type="primary" htmlType="submit" loading={loading}>
        {buttonText || '下一步'}
      </Button>
    </div>
  );
}
